package com.example.musicbox.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 帅哥是我
 * @since 2022-08-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="MUListen对象", description="")
public class MUListen implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "音乐id")
    @TableField("mId")
    private Integer mid;

    @ApiModelProperty(value = "用户id")
    @TableField("uId")
    private Integer uid;

    @ApiModelProperty(value = "听歌的次数")
    @TableField("listenCount")
    private Integer listencount;


}
